<?php
namespace Home\Controller;
use Home\Common\Common;

class CompnayController extends Common {
    public function index(){
        $compnay = M('compnay');
        $compnay = $compnay->select();
        $this->assign('compnay',$compnay);
        $this->display();
    }
}